package ua.kharkov.knure.mikhaylov.st4.web.command;

import java.io.IOException;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.log4j.Logger;

import ua.kharkov.knure.mikhaylov.st4.settings.Path;

/**
 * Redirection command - browse registration page
 * 
 * @author Saint
 * 
 */
public class BrowseRegistrationCommand extends Command {

	private static final long serialVersionUID = 113945679776482894L;
	private static final Logger log = Logger
			.getLogger(BrowseRegistrationCommand.class);

	@Override
	public String execute(HttpServletRequest request,
			HttpServletResponse response) throws IOException, ServletException {

		log.debug("Redirecting to registration page");
		return Path.PAGE_REGISTRATION;
	}

}
